package com.site.wisdom_construction.entity.healthEpidemicModel;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.sql.Date;

/**
 * @Description  
 * @Author  DYF
 * @Date 2022-05-07 
 */
@ApiModel (value ="定位手环预警记录表实体类", description = "WarningRecord")
public class WarningRecord {
	/**
	 * 定位手环预警记录ID
	 */
   	@ApiModelProperty(value = "定位手环预警记录ID", name = "id")
	private Integer id;

	/**
	 * 项目ID
	 */
   	@ApiModelProperty(value = "项目ID", name = "projectId")
	private Integer projectId;

	/**
	 * 设备号
	 */
   	@ApiModelProperty(value = "设备号", name = "equipmentNumber")
	private String equipmentNumber;

	/**
	 * 工人姓名
	 */
	@ApiModelProperty(value = "工人姓名", name = "workerName")
	private String workerName;

	/**
	 * 工人身份证号
	 */
	@ApiModelProperty(value = "工人身份证号", name = "workerCard")
	private String workerCard;

	/**
	 * 工人电话
	 */
	@ApiModelProperty(value = "工人电话", name = "workerPhone")
	private String workerPhone;

	/**
	 * 预警类型(体温 心率 血压)
	 */
   	@ApiModelProperty(value = "预警类型(体温 心率 血压)", name = "warningType")
	private String warningType;

	/**
	 * 预警数值
	 */
	@ApiModelProperty(value = "预警数值", name = "warningValue")
	private String warningValue;

	/**
	 * 状态
	 */
	@ApiModelProperty(value = "状态(未处理 已处理)", name = "status")
	private String status;

	/**
	 * 上传时间
	 */
   	@ApiModelProperty(value = "上传时间", name = "uploadTime")
	@JsonFormat(timezone = "GMT+8", pattern ="yyyy-MM-dd HH:mm:ss")
	private Date uploadTime;

	public WarningRecord(){ super(); }

	public WarningRecord(Integer id, Integer projectId, String equipmentNumber, String workerName, String workerCard, String workerPhone, String warningType, String warningValue, String status, Date uploadTime) {
		this.id = id;
		this.projectId = projectId;
		this.equipmentNumber = equipmentNumber;
		this.workerName = workerName;
		this.workerCard = workerCard;
		this.workerPhone = workerPhone;
		this.warningType = warningType;
		this.warningValue = warningValue;
		this.status = status;
		this.uploadTime = uploadTime;
	}

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getProjectId() {
		return projectId;
	}

	public void setProjectId(Integer projectId) {
		this.projectId = projectId;
	}

	public String getEquipmentNumber() {
		return equipmentNumber;
	}

	public void setEquipmentNumber(String equipmentNumber) {
		this.equipmentNumber = equipmentNumber;
	}

	public String getWorkerName() {
		return workerName;
	}

	public void setWorkerName(String workerName) {
		this.workerName = workerName;
	}

	public String getWorkerCard() {
		return workerCard;
	}

	public void setWorkerCard(String workerCard) {
		this.workerCard = workerCard;
	}

	public String getWorkerPhone() {
		return workerPhone;
	}

	public void setWorkerPhone(String workerPhone) {
		this.workerPhone = workerPhone;
	}

	public String getWarningType() {
		return warningType;
	}

	public void setWarningType(String warningType) {
		this.warningType = warningType;
	}

	public String getWarningValue() {
		return warningValue;
	}

	public void setWarningValue(String warningValue) {
		this.warningValue = warningValue;
	}

	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	public Date getUploadTime() {
		return uploadTime;
	}

	public void setUploadTime(Date uploadTime) {
		this.uploadTime = uploadTime;
	}

	@Override
	public String toString() {
		return "{" +
				"id=" + id +
				", projectId=" + projectId +
				", equipmentNumber='" + equipmentNumber + '\'' +
				", workerName='" + workerName + '\'' +
				", workerCard='" + workerCard + '\'' +
				", workerPhone='" + workerPhone + '\'' +
				", warningType='" + warningType + '\'' +
				", warningValue='" + warningValue + '\'' +
				", status='" + status + '\'' +
				", uploadTime=" + uploadTime +
				'}';
	}
}
